package com.zretc.kscxmz.entity;

/**
 * @author zengyanjun
 * @date 2020-07-21
 *  邮件详情实体类
 *
 */
public class Mail {
    private Integer mailId;//邮件id
    private String mailCreateTime;//邮件发送时间
    private Integer mailFileId;//邮件附件id
    private String  mailContent;//邮件内容
    private String mailTitle;//邮件标题
    private Integer mailType;//邮件类型(16:邮件，17:通知，18:公告)
    private Integer mailPushUserId;//发送者
    private String receives;//接收者姓名集
    private Integer mailStatusId;//邮件状态  （ 20：一般，21：重要，22：紧急）
    private Integer mailAccountId;//邮箱账号id
    private Integer mailDel;//是否已删除（0：未删，1：已删）
    private Integer mailPush;//是否已提交（0：未提交，在草稿箱1：已发送）

    private Integer isRead;//是否是已读
    public Mail() {
    }

    public Mail(Integer mailId, String mailCreateTime, Integer mailFileId, String mailContent, String mailTitle, Integer mailType, Integer mailPushUserId, String receives, Integer mailStatusId, Integer mailAccountId, Integer mailDel, Integer mailPush) {
        this.mailId = mailId;
        this.mailCreateTime = mailCreateTime;
        this.mailFileId = mailFileId;
        this.mailContent = mailContent;
        this.mailTitle = mailTitle;
        this.mailType = mailType;
        this.mailPushUserId = mailPushUserId;
        this.receives = receives;
        this.mailStatusId = mailStatusId;
        this.mailAccountId = mailAccountId;
        this.mailDel = mailDel;
        this.mailPush = mailPush;
    }

    public Integer getMailId() {
        return mailId;
    }

    public void setMailId(Integer mailId) {
        this.mailId = mailId;
    }

    public String getMailCreateTime() {
        return mailCreateTime;
    }

    public void setMailCreateTime(String mailCreateTime) {
        this.mailCreateTime = mailCreateTime;
    }

    public Integer getMailFileId() {
        return mailFileId;
    }

    public void setMailFileId(Integer mailFileId) {
        this.mailFileId = mailFileId;
    }

    public String getMailContent() {
        return mailContent;
    }

    public void setMailContent(String mailContent) {
        this.mailContent = mailContent;
    }

    public String getMailTitle() {
        return mailTitle;
    }

    public void setMailTitle(String mailTitle) {
        this.mailTitle = mailTitle;
    }

    public Integer getMailType() {
        return mailType;
    }

    public void setMailType(Integer mailType) {
        this.mailType = mailType;
    }

    public Integer getMailPushUserId() {
        return mailPushUserId;
    }

    public void setMailPushUserId(Integer mailPushUserId) {
        this.mailPushUserId = mailPushUserId;
    }

    public String getReceives() {
        return receives;
    }

    public void setReceives(String receives) {
        this.receives = receives;
    }

    public Integer getMailStatusId() {
        return mailStatusId;
    }

    public void setMailStatusId(Integer mailStatusId) {
        this.mailStatusId = mailStatusId;
    }

    public Integer getMailAccountId() {
        return mailAccountId;
    }

    public void setMailAccountId(Integer mailAccountId) {
        this.mailAccountId = mailAccountId;
    }

    public Integer getMailDel() {
        return mailDel;
    }

    public void setMailDel(Integer mailDel) {
        this.mailDel = mailDel;
    }

    public Integer getMailPush() {
        return mailPush;
    }

    public void setMailPush(Integer mailPush) {
        this.mailPush = mailPush;
    }

    public Integer getIsRead() {
        return isRead;
    }

    public void setIsRead(Integer isRead) {
        this.isRead = isRead;
    }
    @Override
    public String toString() {
        return "Mail{" +
                "mailId=" + mailId +
                ", mailCreateTime='" + mailCreateTime + '\'' +
                ", mailFileId=" + mailFileId +
                ", mailContent='" + mailContent + '\'' +
                ", mailTitle='" + mailTitle + '\'' +
                ", mailType=" + mailType +
                ", mailPushUserId=" + mailPushUserId +
                ", receives='" + receives + '\'' +
                ", mailStatusId=" + mailStatusId +
                ", mailAccountId=" + mailAccountId +
                ", mailDel=" + mailDel +
                ", mailPush=" + mailPush +
                ", isRead=" + isRead +
                '}';
    }
}
